<?php
/**
 * Created by PhpStorm.
 * User: wx:wenyi2048
 * Date: 2022/3/24 0024
 * Time: 17:24
 */

namespace app\common\validate\mk;


use think\Validate;

class Goods extends Validate
{
    protected $rule = [
        "name|商品名称" => "require",
        "price|商品价钱"  => "require|number",
        "unit|单位"=>"require",
//        "types_first_id|商品种类"=>"require",
//        "types_second_id|商品种类"=>"require",
//        "types_third_id|商品种类"=>"require",
        "sms_store_types_id|商品分类"=>"require",
        "sms_stores_id|指定店铺"=>"require"
    ];
}